<%--
  <p>51void.com</p>
  User: cjp
  Date: 2007-5-26
  Time: 18:44:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglib.jsp"%>
<html>
  <head><title>发表话题</title></head>
  <body><!-- post info begin -->
  <div class="maintable"><br>
<div class="subtable nav" style="width: 100%">
<f:nav forumId="${param.forumId}" viewLastLink="true"></f:nav>  &raquo;
    <c:choose>
        <c:when test="${param.postForm!=null}">
            <c:set var="postStr">发表回复</c:set>
        </c:when>
        <c:otherwise>

            <c:set var="postStr">发新话题</c:set>
        </c:otherwise>
    </c:choose>
${postStr}
</div>

  <br><s:form action="/post.do" method="post" id="post">
<input type="hidden" name="formhash" id="formhash" value="00756f41">
<input type="hidden" name="isblog" value="">

<div class="spaceborder" style="width: 100%">
<table cellspacing="0" cellpadding="5" width="100%">
<tr>
<td colspan="2" class="header">${postStr}</td>
</tr>
<tr><td class="altbg1"><span class="bold">用户名</span></td>
<td class="altbg2">cjp472 <span class="smalltxt">[<a href="logging.php?action=logout&amp;formhash=00756f41">退出登录</a>]</span></td>
</tr>
<tr>
<td class="altbg1"><span class="bold">标题</span></td>
<td class="altbg2"><s:text name="post.title" value="${post.title}" id="subject" size="45" tabindex="3"></s:text></td>
</tr>
<tr>
<td class="altbg1"><span class="bold">图标</span></td>
<td class="altbg2"><input class="radio" type="radio" name="iconid" value="0" checked> 无  <input class="radio" type="radio" name="iconid" value="19"><img src="http://images.5d6d.com/orig/smilies/icon1.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="20"><img src="http://images.5d6d.com/orig/smilies/icon2.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="21"><img src="http://images.5d6d.com/orig/smilies/icon3.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="22"><img src="http://images.5d6d.com/orig/smilies/icon4.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="23"><img src="http://images.5d6d.com/orig/smilies/icon5.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="24"><img src="http://images.5d6d.com/orig/smilies/icon6.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="25"><img src="http://images.5d6d.com/orig/smilies/icon7.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="26"><img src="http://images.5d6d.com/orig/smilies/icon8.gif" alt="" /> <input class="radio" type="radio" name="iconid" value="27"><img src="http://images.5d6d.com/orig/smilies/icon9.gif" alt="" /><br>
</td>
</tr>

    <c:choose>
                  <c:when test="${param.tid > 0}">
                      <s:hidden name="doPost" value="doPost"></s:hidden>
                  </c:when>
                  <c:when test="${param.pid>0}">
                      <s:hidden name="editPost" value="editPost"></s:hidden>
                  </c:when>
                  <c:otherwise>
                      <s:hidden name="newThread" value="newThread"></s:hidden>
                  </c:otherwise>

              </c:choose>
              <input type="hidden" name="post.topicId"  value="${param.tid}"/>
              <input type="hidden" name="post.id"  value="${param.pid}"/>
              <input type="hidden" name="post.forumId" value="${param.forumId}"/>
    
    <tr>
<td class="altbg1"><span class="bold">内容</span></td>
<td class="altbg2">
    <s:textarea name="post.content" style="display:none"></s:textarea>
              <iframe ID="Editor" name="Editor" src="${ctx}/editor/index.html?ID=post.content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe>

    <hr class="line" size="0">
<table cellspacing="0" cellpadding="6" border="0">
<tr class="row1">
    <td>
            <input type="file" name="filePath" class="t" />
            <input type="button" class="b" name="upload" value="上传"/>
    </td>
    </tr>
    </table>
    <div class="postsubmit">
<input class="button" type="submit" name="topicsubmit" id="postsubmit" value="发新话题" tabindex="101">
</div>

</td>
</tr>
</table>
</div>
</s:form>
</div>

  <!-- end #post info -->
  </body>
</html>